package com.test.client;

import com.test.bean.Customer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "customer")
public interface CustomerClient {

    @RequestMapping("/findByCustomerState")
    List<Customer> findByCustomerState();

}
